package chuishop.yiqimaicai.pojo;

public class Shopcar {

    private Integer id;     //购物车id
    private Integer uid;    //用户id
    private Integer sjid;   //上架商品id
    private String  gname;  //商品名
    private String gimage;  //商品图片
    private Double gprice;  //单价
    private Integer cnum;   //商品加购数量

    public Shopcar() {
    }

    public Shopcar(Integer id, Integer uid, Integer sjid, String gname, String gimage, Double gprice, Integer cnum) {
        this.id = id;
        this.uid = uid;
        this.sjid = sjid;
        this.gname = gname;
        this.gimage = gimage;
        this.gprice = gprice;
        this.cnum = cnum;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getSjid() {
        return sjid;
    }

    public void setSjid(Integer sjid) {
        this.sjid = sjid;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public String getGimage() {
        return gimage;
    }

    public void setGimage(String gimage) {
        this.gimage = gimage;
    }

    public Double getGprice() {
        return gprice;
    }

    public void setGprice(Double gprice) {
        this.gprice = gprice;
    }

    public Integer getCnum() {
        return cnum;
    }

    public void setCnum(Integer cnum) {
        this.cnum = cnum;
    }
}
